package com.baiyang.server.model.base;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class Exchange {
	//唯一id
	@NotNull
	private String id;	
	//商品id
	@NotNull
	private String goodId;
	private String goodName;
	//用户id
	@NotNull
	private String userId;
	private String userName;
	//花费积分
	@NotNull
	private Integer spendNum;	
	//状态
	@NotNull
	private String state = "0";
	//收获地址
	private String address;	
	//收获电话
	private String phone;	
	//Unknown
	private String createTime;	
	//是否有效：1-有效，0-无效
	private String available = "1";
	//是否删除：1-删除，0-不删除
	private String del = "0";
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getGoodId(){
		return goodId;
	}
	public void setGoodId(String goodId){
		this.goodId = goodId;
	}
	public String getUserId(){
		return userId;
	}
	public void setUserId(String userId){
		this.userId = userId;
	}
	public Integer getSpendNum(){
		return spendNum;
	}
	public void setSpendNum(Integer spendNum){
		this.spendNum = spendNum;
	}
	public String getState(){
		return state;
	}
	public void setState(String state){
		this.state = state;
	}
	public String getAddress(){
		return address;
	}
	public void setAddress(String address){
		this.address = address;
	}
	public String getPhone(){
		return phone;
	}
	public void setPhone(String phone){
		this.phone = phone;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getAvailable(){
		return available;
	}
	public void setAvailable(String available){
		this.available = available;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}

	public String getGoodName() {
		return goodName;
	}

	public void setGoodName(String goodName) {
		this.goodName = goodName;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
}
